package cn.stylefeng.guns.modular.basic.entity;

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 承运商线路关联表
 * </p>
 *
 * @author like
 * @since 2024-10-10
 */
@TableName("basic_carrier_line")
public class BasicCarrierLine implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 承运商id
     */
    @TableField("carrier_id")
    private Integer carrierId;

    /**
     * 承运商名称
     */
    @TableField("carrier_name")
    private String carrierName;

    /**
     * 线路id
     */
    @TableField("line_id")
    private Integer lineId;

    /**
     * 线路名称
     */
    @TableField("line_name")
    private String lineName;

    /**
     * 状态(0启用，1禁用)
     */
    @TableField("status")
    private String status;

    /**
     * 开始日期
     */
    @TableField("start_time")
    private Date startTime;

    /**
     * 结束日期
     */
    @TableField("stop_time")
    private Date stopTime;

    /**
     * 备注
     */
    @TableField("note")
    private String note;

    /**
     * 创建时间
     */
    @TableField(value = "create_time", fill = FieldFill.INSERT)
    private Date createTime;

    /**
     * 修改时间
     */
    @TableField(value = "update_time", fill = FieldFill.UPDATE)
    private Date updateTime;

    /**
     * 创建用户
     */
    @TableField(value = "create_user")
    private String createUser;

    /**
     * 修改用户
     */
    @TableField(value = "update_user")
    private String updateUser;

    /**
     * 创建人id
     */
    @TableField("create_id")
    private Long createId;

    /**
     * 创建人id
     */
    @TableField("update_id")
    private Long updateId;

    /**
     * 项目id
     */
    @TableField("operate_id")
    private Long operateId;

    /**
     * 项目名称
     */
    @TableField("operate_name")
    private String operateName;

    /**
     * 部门id
     */
    @TableField("dept_id")
    private Long deptId;

    /**
     * 交付客户id
     */
    @TableField("deliver_id")
    private Long deliverId;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Integer getCarrierId() {
        return carrierId;
    }

    public void setCarrierId(Integer carrierId) {
        this.carrierId = carrierId;
    }

    public String getCarrierName() {
        return carrierName;
    }

    public void setCarrierName(String carrierName) {
        this.carrierName = carrierName;
    }

    public Integer getLineId() {
        return lineId;
    }

    public void setLineId(Integer lineId) {
        this.lineId = lineId;
    }

    public String getLineName() {
        return lineName;
    }

    public void setLineName(String lineName) {
        this.lineName = lineName;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public Date getStartTime() {
        return startTime;
    }

    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }

    public Date getStopTime() {
        return stopTime;
    }

    public void setStopTime(Date stopTime) {
        this.stopTime = stopTime;
    }

    public String getNote() {
        return note;
    }

    public void setNote(String note) {
        this.note = note;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Long getCreateId() {
        return createId;
    }

    public void setCreateId(Long createId) {
        this.createId = createId;
    }

    public Long getUpdateId() {
        return updateId;
    }

    public void setUpdateId(Long updateId) {
        this.updateId = updateId;
    }

    public String getCreateUser() {
        return createUser;
    }

    public void setCreateUser(String createUser) {
        this.createUser = createUser;
    }

    public String getUpdateUser() {
        return updateUser;
    }

    public void setUpdateUser(String updateUser) {
        this.updateUser = updateUser;
    }

    public Long getOperateId() {
        return operateId;
    }

    public void setOperateId(Long operateId) {
        this.operateId = operateId;
    }

    public String getOperateName() {
        return operateName;
    }

    public void setOperateName(String operateName) {
        this.operateName = operateName;
    }

    public Long getDeptId() {
        return deptId;
    }

    public void setDeptId(Long deptId) {
        this.deptId = deptId;
    }

    public Long getDeliverId() {
        return deliverId;
    }

    public void setDeliverId(Long deliverId) {
        this.deliverId = deliverId;
    }

    @Override
    public String toString() {
        return "BasicCarrierLine{" +
                "id=" + id +
                ", carrierId=" + carrierId +
                ", carrierName=" + carrierName +
                ", lineId=" + lineId +
                ", lineName=" + lineName +
                ", status=" + status +
                ", startTime=" + startTime +
                ", stopTime=" + stopTime +
                ", note=" + note +
                ", createTime=" + createTime +
                ", updateTime=" + updateTime +
                ", createId=" + createId +
                ", updateId=" + updateId +
                ", createUser=" + createUser +
                ", updateUser=" + updateUser +
                ", operateId=" + operateId +
                ", operateName=" + operateName +
                ", deptId=" + deptId +
                ", deliverId=" + deliverId +
                "}";
    }
}
